/ Developer CD Series 2000 November: Tool Chest
/ Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / Desktop Sprites / Clippings / dispsprite.c / DisposeSprites.clp ![]() |
MacBinary | 2000-10-06 | 1.1 KB | [clpt/drag] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | TRS-80 CLP File (image/trs80Clp) | ext | Supported |
66% | dexvert | PC Paint Image (image/pcPaint) | ext | Supported |
66% | dexvert | Windows Clipboard (image/windowsClipboard) | ext | Supported |
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Quattro Pro Clip Art (image/quattroProClipArt) | ext | Unsupported |
1% | dexvert | Home Plan Pro 5 Clip (other/homePlanPro5Clip) | ext | Unsupported |
100% | file | MacBinary II, inited, Wed Apr 12 19:34:48 2000, modified Fri Oct 6 15:36:22 2000, creator 'drag', type 'clpt' "DisposeSprites.clp", at 0x80 910 bytes resource Apple HFS/HFS+ resource fork, map offset 0x348, map length 0x46, data length 0x248, nextResourceMap 0x7ac5ff0, fileRef 0x444e, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 | default (weak) | |
99% | file | data | default | |
74% | TrID | Mac Text clippings (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [clpt] |
macFileCreator | [drag] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 44 69 73 70 6f 73 | 65 53 70 72 69 74 65 73 |..Dispos|eSprites|
|00000010| 2e 63 6c 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |.clp....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 03 8e b5 1a b8 98 b6 |........|........|
|00000060| 03 da 36 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..6.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 83 67 00 00 |........|.....g..|
|00000080| 00 00 01 00 00 00 03 48 | 00 00 02 48 00 00 00 46 |.......H|...H...F|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 0a | 69 73 6f 2d 38 38 35 39 |........|iso-8859|
|000000b0| 12 44 69 73 70 6f 73 65 | 53 70 72 69 74 65 73 2e |.Dispose|Sprites.|
|000000c0| 63 6c 70 52 65 66 6d 63 | 70 63 6c 70 63 6c 70 79 |clpRefmc|pclpclpy|
|000000d0| 02 00 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 01 |..clptdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 b5 1a b1 90 00 00 | 00 00 00 00 03 8e 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 0c 0b 41 50 43 20 43 6f |........|..APC Co|
|00000130| 75 72 69 65 72 00 00 00 | 00 00 00 00 00 00 00 00 |urier...|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 0c 00 07 0e 43 79 |........|......Cy|
|00000170| 72 69 6c 6c 69 63 20 28 | 4d 61 63 29 00 00 00 00 |rillic (|Mac)....|
|00000180| 00 00 02 20 09 2f 2f 20 | 64 69 73 70 6f 73 65 20 |... .// |dispose |
|00000190| 6f 66 20 74 68 65 20 73 | 70 72 69 74 65 20 77 6f |of the s|prite wo|
|000001a0| 72 6c 64 20 61 6e 64 20 | 61 73 73 6f 63 69 61 74 |rld and |associat|
|000001b0| 65 64 20 67 72 61 70 68 | 69 63 73 20 77 6f 72 6c |ed graph|ics worl|
|000001c0| 64 0d 09 69 66 20 28 67 | 53 70 72 69 74 65 57 6f |d..if (g|SpriteWo|
|000001d0| 72 6c 64 29 0d 09 09 44 | 69 73 70 6f 73 65 53 70 |rld)...D|isposeSp|
|000001e0| 72 69 74 65 57 6f 72 6c | 64 28 67 53 70 72 69 74 |riteWorl|d(gSprit|
|000001f0| 65 57 6f 72 6c 64 29 3b | 0d 0d 09 0d 09 2f 2f 20 |eWorld);|.....// |
|00000200| 64 69 73 70 6f 73 65 20 | 6f 66 20 65 61 63 68 20 |dispose |of each |
|00000210| 73 70 72 69 74 65 d5 73 | 20 69 6d 61 67 65 20 64 |sprite.s| image d|
|00000220| 61 74 61 0d 09 66 6f 72 | 20 28 6e 49 6e 64 65 78 |ata..for| (nIndex|
|00000230| 20 3d 20 30 3b 20 6e 49 | 6e 64 65 78 20 3c 20 6b | = 0; nI|ndex < k|
|00000240| 4e 75 6d 53 70 72 69 74 | 65 73 3b 20 6e 49 6e 64 |NumSprit|es; nInd|
|00000250| 65 78 2b 2b 29 0d 09 7b | 0d 09 09 69 66 20 28 67 |ex++)..{|...if (g|
|00000260| 43 6f 6d 70 72 65 73 73 | 65 64 50 69 63 74 75 72 |Compress|edPictur|
|00000270| 65 73 5b 6e 49 6e 64 65 | 78 5d 29 0d 09 09 09 44 |es[nInde|x])....D|
|00000280| 69 73 70 6f 73 65 48 61 | 6e 64 6c 65 28 67 43 6f |isposeHa|ndle(gCo|
|00000290| 6d 70 72 65 73 73 65 64 | 50 69 63 74 75 72 65 73 |mpressed|Pictures|
|000002a0| 5b 6e 49 6e 64 65 78 5d | 29 3b 0d 09 09 09 0d 09 |[nIndex]|);......|
|000002b0| 09 69 66 20 28 67 49 6d | 61 67 65 44 65 73 63 72 |.if (gIm|ageDescr|
|000002c0| 69 70 74 69 6f 6e 73 5b | 6e 49 6e 64 65 78 5d 29 |iptions[|nIndex])|
|000002d0| 0d 09 09 09 44 69 73 70 | 6f 73 65 48 61 6e 64 6c |....Disp|oseHandl|
|000002e0| 65 28 28 48 61 6e 64 6c | 65 29 67 49 6d 61 67 65 |e((Handl|e)gImage|
|000002f0| 44 65 73 63 72 69 70 74 | 69 6f 6e 73 5b 6e 49 6e |Descript|ions[nIn|
|00000300| 64 65 78 5d 29 3b 0d 09 | 09 09 0d 09 09 69 66 20 |dex]);..|.....if |
|00000310| 28 67 53 70 72 69 74 65 | 73 5b 6e 49 6e 64 65 78 |(gSprite|s[nIndex|
|00000320| 5d 29 0d 09 09 09 44 69 | 73 70 6f 73 65 53 70 72 |])....Di|sposeSpr|
|00000330| 69 74 65 28 67 53 70 72 | 69 74 65 73 5b 6e 49 6e |ite(gSpr|ites[nIn|
|00000340| 64 65 78 5d 29 3b 0d 09 | 7d 0d 09 0d 09 2f 2f 20 |dex]);..|}....// |
|00000350| 64 69 73 70 6f 73 65 20 | 6f 66 20 74 68 65 20 73 |dispose |of the s|
|00000360| 70 72 69 74 65 20 70 6c | 61 6e 65 20 77 6f 72 6c |prite pl|ane worl|
|00000370| 64 0d 09 69 66 20 28 67 | 53 70 72 69 74 65 50 6c |d..if (g|SpritePl|
|00000380| 61 6e 65 29 0d 09 09 44 | 69 73 70 6f 73 65 47 57 |ane)...D|isposeGW|
|00000390| 6f 72 6c 64 28 67 53 70 | 72 69 74 65 50 6c 61 6e |orld(gSp|ritePlan|
|000003a0| 65 29 3b 0d 00 00 00 20 | 00 00 00 01 00 00 00 04 |e);.... |........|
|000003b0| 00 00 00 00 00 00 00 01 | 54 45 58 54 00 00 01 00 |........|TEXT....|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 03 48 |........|.......H|
|000003d0| 00 00 02 48 00 00 00 46 | 07 ac 5f f0 44 4e 00 00 |...H...F|.._.DN..|
|000003e0| 00 1c 00 46 00 01 54 45 | 58 54 00 00 00 12 64 72 |...F..TE|XT....dr|
|000003f0| 61 67 00 00 00 1e 01 00 | ff ff 00 00 00 00 00 00 |ag......|........|
|00000400| 3a 84 00 80 ff ff 00 00 | 02 24 00 00 35 00 00 00 |:.......|.$..5...|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+